﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Glorysoft.EAP.Core.Entities.Socket
{
    /// <summary>
    /// 设备状态变化上报，包括断开，连接
    /// </summary>
    public class RequestEqpStatuChangeReport
    {
        /// <summary>
        /// 实例化请求实体
        /// </summary>
        public EqpStatuChangeReportRequest Request { get; set; }
        /// <summary>
        /// 默认构造函数
        /// </summary>
        public RequestEqpStatuChangeReport()
        {
            Request = new EqpStatuChangeReportRequest();
            Request.Header = new RequestHeader();
            Request.Body = new EqpStatuChangeReportRequestBody();
        }
    }
    /// <summary>
    /// 设备启动请求实体类
    /// </summary>
    public class EqpStatuChangeReportRequest : RequestBase
    {
        /// <summary>
        /// 请求Body
        /// </summary>
        public EqpStatuChangeReportRequestBody Body { get; set; }

    }

    /// <summary>
    /// EqpStatuChangeReport请求的Body属性
    /// </summary>
    public class EqpStatuChangeReportRequestBody
    {
        /// <summary>
        /// 设备ID
        /// </summary>
        public string EqpID { get; set; }
        /// <summary>
        /// 控制状态
        /// </summary>
        public string CtrlMode { get; set; }
        /// <summary>
        /// 运行状态
        /// </summary>
        public string ProcMode { get; set; }
    }
}
